//获取首页栏目请求

import axios from '@/utils/myaxios.js'

export const getlistname = function (data) {
  return axios({
    url: '/category',
    data
  })
}

export const addlistname = function (data) {
  return axios({
    method: 'post',
    url: '/category',
    data
  })
}